package com.ruoyi.dl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题反馈对象 dl_problem
 *
 * @author ruoyi
 * @date 2020-12-28
 */
public class DlProblem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Integer id;

    /**
     * 发信息人id
     */
    @Excel(name = "发信息人id")
    private Integer userId;

    /**
     * 问题类型（0：发单问题，1：接单问题，2：软件问题，3：财务问题，4：其他问题）
     */
    @Excel(name = "问题类型", readConverterExp = "0=：发单问题，1：接单问题，2：软件问题，3：财务问题，4：其他问题")
    private Integer type;

    private DlUser dlUser;

    public DlUser getDlUser() {
        return dlUser;
    }

    public void setDlUser(DlUser dlUser) {
        this.dlUser = dlUser;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createTime", getCreateTime())
                .append("userId", getUserId())
                .append("type", getType())
                .append("remark", getRemark())
                .toString();
    }
}
